package com.kfm.main;


import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class Configuration {

    String url;
    String driver;
    String username;
    String password;

    /*
        key:  接口的全限定名 + 方法名字
        value: Mapper
        eg:
         key = com.kfm.dao.IUserinfoDao.selectAll
         value= Mapper{ sql=select * from userinfo, resultType=com.kfm.model.Userinfo}
     */
    Map<String, Mapper> mappers ;
}

@Data
class Mapper{

    String sql;

    String resultType;
}
